-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protocol parameter update with guard rail script #5834
base: master
Are you sure you want to change the base?
Conversation
d1fdfc3
to
efe6f73
Compare
-- program-options | ||
-- ghc-options: -Werror |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-- program-options | |
-- ghc-options: -Werror | |
program-options | |
ghc-options: -Werror |
H.writeFile proposalAnchorFile "dummy anchor data" | ||
proposalAnchorDataBS <- evalIO $ BS.readFile proposalAnchorFile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why write then read?
, Map.singleton pv2 defaultV2CostModel | ||
, Map.singleton pv3 defaultV3CostModel | ||
] | ||
defaultV1CostModel = Api.CostModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are those V1 and V2 values the same as in default genesis in cardano-api? Maybe it would be better to reference values from the default genesis there instead of redefining them here?
Same with V3 - maybe it would be better to just update single elements in the list instead?
numVotes = length allVotes | ||
annotateShow numVotes | ||
|
||
guardRailScript <- H.note $ work </> "guard-rail-script.plutusV3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity, what does this script do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing it defaults to True
. I want to bring plutus-example
into cardano-node so we can see the script in in Haskell.
efe6f73
to
0586d27
Compare
cefd5a6
to
cc79ef6
Compare
keys and the dreps
cc79ef6
to
4655aa1
Compare
This PR is stale because it has been open 45 days with no activity. |
Description
Add your description here, if it fixes a particular issue please provide a
link
to the issue.
Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.